<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <title></title>
    <link rel="stylesheet" href="../../css/base.css">
    <link rel="stylesheet" href="../../css/public.css">
    <link rel="stylesheet" href="../../css/shop.css">
    <link rel="stylesheet" href="../../css/fenxiao_detail.css">
</head>
<body>
<div class="header">
    <i onclick="window.history.back()"></i>
    <div class="center"><p><a href="shop.html">商城收益</a></p><p  class="active">商圈收益</p></div>
    <p class="set"><a href="agent_sq_cash_withdrawal.html">提现</a></p>
</div>
<div class="main" style="margin-top: 0">
    <div class="h_info">

    </div>
    <!--<h4>历史记录</h4>-->
    <div class="list">
        <ul>

        </ul>
    </div>
</body>
</html>
<script type="text/html" id="info_tpl">
    <div class="top" >
        <p><%=agent['agent']%>消费总金额</p>
        <p><%=agent['total']%></p>
        <p>每月25结算</p>
    </div>
    <div class="top_bot">
        <ul>
            <li>
                <p>上月获得佣金</p>
                <p class="red"><%=agent['result_totals']%>元</p>
            </li>
            <li>
                <p>可提现总佣金</p>
                <p class="red"><%=agent['av_total']%>元</p>
            </li>
        </ul>
    </div>
</script>
<script type="text/html" id="log-list-tmpl">
    <% var log_list = datas.log_list; %>
    <% if (log_list.length > 0){%>
    <% for(var i = 0;i<log_list.length;i++){
    var log = log_list[i]['data'];
    var time = log_list[i]['time'];
    %>
    <% if (log.length > 0) {%>
    <% for(var j = 0;j<log.length;j++){%>
    <h5><%= log[j]['ob_month']%></h5>
    <div class="list_detail">
        <p class="p1">结算单号：<%=log[j]['ob_no']%></p>
        <p class="p2">变更说明: <span><%= log[j]['month']%>份销售额结算
</span> <strong>+<%=log[j]['ob_result_totals']%></strong></p>
        <p class="p3">结算时间: <span><%= log[j]['ob_create_time']%></span></p>
    </div>
    <%}%>
    <%}else {%>
    <h5><%=time%></h5>
    <div class="list_detail">
        <p class="p1" style="text-align: center">暂无数据</p>
    </div>
    <%}%>
    <%}%>
    <% if (hasmore) {%>
    <li class="loading"><div class="spinner"><i></i></div>明细数据读取中...</li>
    <% } %>
    <%}else {%>
    <div class="nctouch-norecord order">
        <div class="norecord-ico"><i></i></div>
        <dl>
            <dt>您还没有相关的明细</dt>
            <dd>可以去看看哪些想要买的</dd>
        </dl>
        <a href="<%=WapSiteUrl%>" class="btn">随便逛逛</a>
    </div>
    <%}%>
</script>
<script type="text/javascript" src="../../js/config.js"></script>
<script type="text/javascript" src="../../js/zepto.min.js"></script>
<script type="text/javascript" src="../../js/common.js"></script>
<script type="text/javascript" src="../../js/template.js"></script>
<script type="text/javascript" src="../../js/simple-plugin.js"></script>
<script type="text/javascript" src="../../js/tmpl/footer.js"></script>
<script type="text/javascript" src="../../js/tmpl/bussinss.js"></script>